package com.aos.erp.schools.model.gatherschool.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 驾校信息表
 * </p>
 *
 * @author ywb
 * @since 2018-11-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class UpdateGatherInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = " 主键")
    private Long    id;

    /**
     * 类别  （1：直营总校  2：非直营总校  3:分校 4：报名点）
     */
    @ApiModelProperty(value = " 类别  （1：直营总校  2：非直营总校  3:分校 4：报名点）")
    private Integer type;
    /**
     * 父级驾校ID
     */
    @ApiModelProperty(value = " 父级驾校ID")
    private Long parentId;

    /**
     * 总校ID
     */
    @ApiModelProperty(value = " 总校ID")
    private Long gatherId;

    /**
     * 分校ID
     */
    @ApiModelProperty(value = " 分校ID")
    private Long branchId;
    /**
     * 车管所ID
     */
    @ApiModelProperty(value = " 车管所ID")
    private Long divisionId;
    /**
     * 企业名称
     */
    @ApiModelProperty(value = " 驾校名称")
    private String name;

    /**
     * 驾校代码
     */
    @ApiModelProperty(value = " 驾校代码")
    private String code;

    /**
     * 省ID
     */
    @ApiModelProperty(value = " 省")
    private Long provinceId;
    /**
     * 市ID
     */
    @ApiModelProperty(value = " 市Id")
    private Long cityId;
    /**
     * 区县ID
     */
    @ApiModelProperty(value = " 区县ID")
    private Long areaId;
    /**
     * 详细地址
     */

    @ApiModelProperty(value = " 详细地址")
    private String address;
    /**
     * 经度
     */
    @ApiModelProperty(value = " 经度")
    private String longitude;
    /**
     * 纬度
     */
    @ApiModelProperty(value = " 纬度")
    private String latitude;

    /**
     * 联系人
     */
    @ApiModelProperty(value = " 联系人")
    private String contacts;

    /**
     * 手机号
     */

    @ApiModelProperty(value = " 手机号")
    private String  mobile;


    /**
     * 图片
     */

    @ApiModelProperty(value = " 图片")
    private String  pics;

    @Override
    public String toString() {
        return "GatherListVo{" +
                "id=" + id +
                ", type=" + type +
                ", parentId=" + parentId +
                ", divisionId=" + divisionId +
                ", name='" + name + '\'' +
                ", code='" + code + '\'' +
                ", provinceId=" + provinceId +
                ", cityId=" + cityId +
                ", areaId=" + areaId +
                ", address='" + address + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", contacts='" + contacts + '\'' +
                ", mobile='" + mobile + '\'' +
                '}';
    }
}
